package com.example.login.state

import com.example.common.entity.UserEntity
import com.example.common.state.BaseUIState

sealed class AccountUiState: BaseUIState(){

    object EmptyState: AccountUiState()

    data class LoginToServerSuccess(val userEntity: UserEntity): AccountUiState()
    data class LoginToServerFail(val msg: String): AccountUiState()

    data class RegisterToServerSuccess(val userEntity: UserEntity): AccountUiState()
    data class RegisterToServerFail(val msg: String): AccountUiState()


}